#include <iostream>
#include <string>
using namespace std;

class Dog
{
public:
	string name;
	void get_weight(int weight)
	{
		cout << name << " weight is " << weight << "kg" << endl;
	}

	void get_weight(double weight)
	{
		cout << name << " weight is " << weight << "kg" << endl;
	}
};

int main()
{
	Dog dog;
	dog.name = "dog";

	dog.get_weight(10);
	dog.get_weight(10.5);
	return 0;
}


